Function: chararray2char

CALL:

str = chararray2char(str, linebreak)

DESCRIPTION:

Convert char array to string.

INPUT:

str any
char array
linebreak any
(optional) string with linebreak character, default: char(10)

OUTPUT:

str any
string